package com.example.walled_houses.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author chengtaoxie
 * @since 2023-10-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("wh_house")
public class House implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 围屋id
     */
    @TableId(value = "house_id", type = IdType.AUTO)
    private Integer houseId;

    /**
     * 围屋的名称
     */
    private String houseName;

    /**
     * 围屋的地址
     */
    private String houseAddress;

    /**
     * 围屋评分
     */
    private Double houseScore;

    /**
     * 围屋所在的城市
     */
    private String houseCity;

    /**
     * 围屋星级
     */
    private Integer houseStar;

    /**
     * 围屋经度
     */
    private String houseLatitude;

    /**
     * 围屋纬度
     */
    private String houseLongitude;

    /**
     * 围屋图片地址
     */
    private String housePicture;

    /**
     * 围屋描述
     */
    private String houseDescription;

    /**
     * 图片集合
     */
    @TableField(exist = false)
    private List<String> photoList;


}
